#include <stdio.h>

int main() 
{
    char x = 0;
    while(scanf("%c",&x) != EOF)
    {
        if ((x >= 'a' && x <= 'z')||(x >= 'A' && x <= 'Z'))
            printf("%c is an alphabet.\n",x);
        else
            printf("%c is not an alphabet.\n",x);
            getchar();
    }
    return 0;
}